runtime.workType.strongFromWeak (field)
12 uses
runtime (current package)
mgc.go#L193: lockInit(&work.strongFromWeak.lock, lockRankStrongFromWeakQueue)
mgc.go#L424: strongFromWeak struct {
mgc.go#L881: work.strongFromWeak.block = true
mgc.go#L985: work.strongFromWeak.block = false
mheap.go#L2057: if work.strongFromWeak.block {
mheap.go#L2111: for work.strongFromWeak.block {
mheap.go#L2112: lock(&work.strongFromWeak.lock)
mheap.go#L2116: work.strongFromWeak.q.pushBack(getg())
mheap.go#L2119: goparkunlock(&work.strongFromWeak.lock, waitReasonGCWeakToStrongWait, traceBlockGCWeakToStrongWait, 2)
mheap.go#L2135: lock(&work.strongFromWeak.lock)
mheap.go#L2136: list := work.strongFromWeak.q.popList()
mheap.go#L2138: unlock(&work.strongFromWeak.lock)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |